package com.jiuyue.movehouse.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jiuyue.movehouse.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yourFather
 * @since 2022-02-11
 */
public interface UserService extends IService<User> {

    User Login(User user);

    User Register(User user);

    Page<User> getUserList(Page page, User user);

    void resetPassword(Long userId, String password);

    void deleteUser(Long userId);

    void updateType(Long userId, String type);

    User getByUserId(Long userId);
}
